package com.yupi.springbootinit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.springbootinit.model.dto.UserSignRequest;
import com.yupi.springbootinit.model.entity.User;
import com.yupi.springbootinit.model.entity.UserSignState;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * (UserLoginState)表服务接口
 *
 * @author makejava
 * @since 2024-03-07 14:11:04
 */
public interface UserSignStateService extends IService<UserSignState> {
    /**
     * 签到的功能实现
     */
    void sign(User user, UserSignRequest userSignRequest);

    Map<String, Object> searchSignStateByTimePeriod(String startTime, String endTime, HttpServletRequest request);
}
